﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace Lottery.Models.Home
{
    public class UserResetModel:BaseModel
    {
        public int ID { get; set; }

        [Display(Name = "用户名：")]
        public string Name { get; set; }

        [Required(ErrorMessage = "请输入密码.")]
        [Display(Name = "密码：")]
        public string Password { get; set; }

        [Required(ErrorMessage = "请输入确认密码.")]
        [Display(Name = "确认密码：")]
        public string ConfirmPassword { get; set; }
    }
}